DJF

Section: Maintenance Commands (8)
Updated: March 28, 1991
Index Return to Main Contents
 

NAME

djf - Hewlett-Packard® DeskJet(tm) printer filter  

SYNPOSIS

djf [ -c ] [ -f file ] [ -h host ] [ -i# ] [ -l# ] [ -n name ] [ -p printer ] [ -R# ] [ -w# ] [ -x# ] [ -y# ] [ acctfile ]  

DESCRIPTION

Djf allows an Hewlett-Packard DeskJet to serve as a low-quality spooled printer for a NeXT workstation. ASCII files print with the ROM character set. PostScript® files are rendered at 75, 100, 150, or 300dpi using the NextStep Window Server.

The options are as described in the 4.3BSD Line Printer Spooler Manual. However, the -w option (controlled by the pw printcap capability if using djf as an output filter, or by lpr's -w option if used as an input filter) also adjusts the horizontal pitch to fit the 8 inch line length. The -l option adjust vertical pitch and typeface point size. The DeskJet(tm) text scale mode is used; 66 lines of 12-point type will fit on a page.

The -f, and -p, options are NeXT extensions; djf ignores them.

Djf supports the NeXT extension -R (resolution) option.

Sample printcap entry for '030 cube (no hardware flow control, not tested):

dj|DeskJet: \
       :lp=/dev/ttya:ty=HP DeskJet: \

       :sd=/usr/spool/NeXT/dj:br#9600:rw:fc#0177477:fs#0300: \

       :xc#0133737:xs#044040:if=/usr/local/lib/djf:pw#80: \

       :pl#66:mx#0:sh:sf:

(Install using niload, not PrintManager)

To make a spool directory:
mkdir /usr/spool/NeXT/dj
chown agent.daemon /usr/spool/NeXT/dj
chmod 770 /usr/spool/NeXT/dj
 

AUTHOR

Eric P. Scott  

SEE ALSO

lpr(1), printcap(5), lpd(8)
4.3BSD Line Printer Spooler Manual [SMM:6]
DeskJet(tm) Owner's Manual  

DIAGNOSTICS

Errors are logged to stderr.  

BUGS

Text mode not well tested.

PostScript printing may require a user be logged in on the console.

The -x and -y options aren't practical.

Fails to write accounting record if killed (as by lprm).

Should vary the top margin between PostScript (at the cut) and text (somewhat lower).


 

Index

NAME
SYNPOSIS
DESCRIPTION
AUTHOR
SEE ALSO
DIAGNOSTICS
BUGS

This document was created by man2html, using the manual pages.
Time: 05:44:22 GMT, November 13, 2022